package queryTree;

import java.util.ArrayList;

import optimization.Field;
/**
 * 
 * @author Van
 *
 */
public abstract class AbstractNode implements TreeNode {
	BooleanExpr selectPredicate = null;
	ArrayList<Field> AttrsProjection = new ArrayList<Field>();
	
	public ArrayList<Field> getAttrsProjection() {
		return AttrsProjection;
	}
	public void setAttrsProjection(ArrayList<Field> attrsProjection) {
		AttrsProjection = attrsProjection;
	}
	public BooleanExpr getSelectPredicate() {
		return selectPredicate;
	}
	public void setSelectPredicate(BooleanExpr selectPredicate) {
		this.selectPredicate = selectPredicate;
	}
	public abstract Object clone() throws CloneNotSupportedException;
}
